//
//  ViewController.m
//  HackathonApp
//
//  Created by Bushra on 12/1/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "ViewController.h"
#import "myMapViewController.h"
#import "MyComplaintsView.h"
@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view, typically from a nib.
    [[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationFade];
}

- (void)viewDidUnload
{
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
-(IBAction) reportProblemButtonAction
{
    myMapViewController* cropViewController=[[myMapViewController alloc] initWithNibName:nil bundle:nil];
	[self presentModalViewController:cropViewController animated:YES];
    [cropViewController release];
}
-(IBAction) complainButtonAction
{
    MyComplaintsView* cropViewController=[[MyComplaintsView alloc] initWithNibName:nil bundle:nil];
	[self presentModalViewController:cropViewController animated:YES];
    [cropViewController release];
}
-(IBAction) trackIssueButtonAction
{
}

@end
